//
//  CACarData.h
//  demo
//
//  Created by Seimei on 12-10-16.
//  Copyright (c) 2012年 DEMO. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <stdint.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <fcntl.h>
#import "config.h"


@interface CACarData : NSObject

@property (nonatomic) int odbSock;
@property (nonatomic,retain) NSTimer *odbTimer;
@property (nonatomic,retain) NSString *obdDisplayStr;

- (BOOL) connect;
- (void) readOdbData;

- (BOOL) start;
- (BOOL) stop;
@end
